package com.solo_project;

/**
 * Created by ThoughtWorker on 1/16/14.
 */
public class Player {
    private String name;
    private String team;
    private int number;
    private int age;


    public Player(String name) {
        this.name = name;
    }

    public Player(String name, String team, int number, int age) {
        this.name = name;
        this.number = number;
        this.age = age;
        this.team = team;
    }

    public String name() {
        return name;
    }

    public String team(){
        return team;
    }

    public int number(){
        return number;
    }

    public int age(){
        return age;
    }

}
